package com.woniuxy.service.impl;

import com.woniuxy.service.RoleService;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Service;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 01/20/0020 下午 3:32
 * @Component: 成都蜗牛学苑
 **/
@Service
public class RoleServiceImpl implements RoleService {
    @Override
    public void findAll() {
        System.out.println("RoleServiceImpl.findAll:执行");
    }

    @Override
    public void findOne() {
        try {
            int i =1/0;
        }catch(Exception e){
            throw new RuntimeException("后台维护中……");
        }
        System.out.println("RoleServiceImpl.findOne:执行");
    }
}
